package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * CourseResource对象 t_course_resource
 * 
 * @author 最爱喝兽奶
 * @date 2024-03-20
 */
@Data
@TableName(value = "T_COURSE_RESOURCE")
public class TCourseResource implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 课程小节的id */
    @Excel(name = "课程小节的id")
    @TableField(value = "course_video_id")
    private Long courseVideoId;

    /** 所属的文件类型：1：视频，2：图片，3：PPT */
    @Excel(name = "所属的文件类型：1：视频，2：图片，3：PPT")
    @TableField(value = "catagory")
    private Integer catagory;

    /** 文件id */
    @Excel(name = "文件id")
    @TableField(value = "oss_id")
    private Long ossId;

    @Excel(name = "创建时间")
    @TableField(value = "create_time")
    private Long createTime;


    @Excel(name = "更新时间")
    @TableField(value = "update_time")
    private Long updateTime;

    @TableField(value = "update_by")
    private String updateBy;

    @TableField(value = "download_num")
    private Integer downloadNum;

    @TableField(value = "source_name")
    private String sourceName;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "full_source_name")
    private String fullSourceName;

}
